<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
		
	
		<title>后台管理</title>

<!-- Bootstrap Core CSS -->
<link href="/Public/Admin/bower_components/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">

<!-- MetisMenu CSS -->
<link href="/Public/Admin/bower_components/metisMenu/dist/metisMenu.min.css" rel="stylesheet">

<!-- Custom CSS -->
<link href="/Public/Admin/dist/css/sb-admin-2.css" rel="stylesheet">

<!-- Custom Fonts -->
<link href="/Public/Admin/bower_components/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">

<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
	<script src="/Public/Admin/js/html5shiv.js"></script>
	<script src="/Public/Admin/js/respond.min.js"></script>
<![endif]-->
<style>
.page a{padding:0 5px;}
.page span{padding:0 5px;}
</style>

	
</head>

<body>
	<div id="wrapper">

        <!-- Navigation -->
		
			<nav class="navbar navbar-default navbar-static-top" role="navigation" style="margin-bottom: 0">
	<div class="navbar-header">
		<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
			<span class="sr-only">Toggle navigation</span>
			<span class="icon-bar"></span>
			<span class="icon-bar"></span>
			<span class="icon-bar"></span>
		</button>
		<a class="navbar-brand" href="javascript:;">后台管理</a>
	</div>
	<!-- /.navbar-header -->

	<ul class="nav navbar-top-links navbar-right">
		<!--
		<li class="dropdown">
			<a class="dropdown-toggle" data-toggle="dropdown" href="#">
				<i class="fa fa-envelope fa-fw"></i>  <i class="fa fa-caret-down"></i>
			</a>
			<ul class="dropdown-menu dropdown-messages">
				<li>
					<a href="#">
						<div>
							<strong>John Smith</strong>
							<span class="pull-right text-muted">
								<em>Yesterday</em>
							</span>
						</div>
						<div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque eleifend...</div>
					</a>
				</li>
				<li class="divider"></li>
				<li>
					<a href="#">
						<div>
							<strong>John Smith</strong>
							<span class="pull-right text-muted">
								<em>Yesterday</em>
							</span>
						</div>
						<div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque eleifend...</div>
					</a>
				</li>
				<li class="divider"></li>
				<li>
					<a href="#">
						<div>
							<strong>John Smith</strong>
							<span class="pull-right text-muted">
								<em>Yesterday</em>
							</span>
						</div>
						<div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque eleifend...</div>
					</a>
				</li>
				<li class="divider"></li>
				<li>
					<a class="text-center" href="#">
						<strong>Read All Messages</strong>
						<i class="fa fa-angle-right"></i>
					</a>
				</li>
			</ul>
		</li>
		<li class="dropdown">
			<a class="dropdown-toggle" data-toggle="dropdown" href="#">
				<i class="fa fa-tasks fa-fw"></i>  <i class="fa fa-caret-down"></i>
			</a>
			<ul class="dropdown-menu dropdown-tasks">
				<li>
					<a href="#">
						<div>
							<p>
								<strong>Task 1</strong>
								<span class="pull-right text-muted">40% Complete</span>
							</p>
							<div class="progress progress-striped active">
								<div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: 40%">
									<span class="sr-only">40% Complete (success)</span>
								</div>
							</div>
						</div>
					</a>
				</li>
				<li class="divider"></li>
				<li>
					<a href="#">
						<div>
							<p>
								<strong>Task 2</strong>
								<span class="pull-right text-muted">20% Complete</span>
							</p>
							<div class="progress progress-striped active">
								<div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100" style="width: 20%">
									<span class="sr-only">20% Complete</span>
								</div>
							</div>
						</div>
					</a>
				</li>
				<li class="divider"></li>
				<li>
					<a href="#">
						<div>
							<p>
								<strong>Task 3</strong>
								<span class="pull-right text-muted">60% Complete</span>
							</p>
							<div class="progress progress-striped active">
								<div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%">
									<span class="sr-only">60% Complete (warning)</span>
								</div>
							</div>
						</div>
					</a>
				</li>
				<li class="divider"></li>
				<li>
					<a href="#">
						<div>
							<p>
								<strong>Task 4</strong>
								<span class="pull-right text-muted">80% Complete</span>
							</p>
							<div class="progress progress-striped active">
								<div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" style="width: 80%">
									<span class="sr-only">80% Complete (danger)</span>
								</div>
							</div>
						</div>
					</a>
				</li>
				<li class="divider"></li>
				<li>
					<a class="text-center" href="#">
						<strong>See All Tasks</strong>
						<i class="fa fa-angle-right"></i>
					</a>
				</li>
			</ul>
		</li>
		<li class="dropdown">
			<a class="dropdown-toggle" data-toggle="dropdown" href="#">
				<i class="fa fa-bell fa-fw"></i>  <i class="fa fa-caret-down"></i>
			</a>
			<ul class="dropdown-menu dropdown-alerts">
				<li>
					<a href="#">
						<div>
							<i class="fa fa-comment fa-fw"></i> New Comment
							<span class="pull-right text-muted small">4 minutes ago</span>
						</div>
					</a>
				</li>
				<li class="divider"></li>
				<li>
					<a href="#">
						<div>
							<i class="fa fa-twitter fa-fw"></i> 3 New Followers
							<span class="pull-right text-muted small">12 minutes ago</span>
						</div>
					</a>
				</li>
				<li class="divider"></li>
				<li>
					<a href="#">
						<div>
							<i class="fa fa-envelope fa-fw"></i> Message Sent
							<span class="pull-right text-muted small">4 minutes ago</span>
						</div>
					</a>
				</li>
				<li class="divider"></li>
				<li>
					<a href="#">
						<div>
							<i class="fa fa-tasks fa-fw"></i> New Task
							<span class="pull-right text-muted small">4 minutes ago</span>
						</div>
					</a>
				</li>
				<li class="divider"></li>
				<li>
					<a href="#">
						<div>
							<i class="fa fa-upload fa-fw"></i> Server Rebooted
							<span class="pull-right text-muted small">4 minutes ago</span>
						</div>
					</a>
				</li>
				<li class="divider"></li>
				<li>
					<a class="text-center" href="#">
						<strong>See All Alerts</strong>
						<i class="fa fa-angle-right"></i>
					</a>
				</li>
			</ul>
		</li>
		-->
		<li class="dropdown" style="float:right;">
			<a class="dropdown-toggle" data-toggle="dropdown" href="javascript:;">
				<i class="fa fa-user fa-fw"></i>  <i class="fa fa-caret-down"></i>
			</a>
			<ul class="dropdown-menu dropdown-user">
				<li><a href="javascript:;"><i class="fa fa-user fa-fw"></i> <?php echo ($_SESSION['admin']['username']); ?></a>
				</li>
				<li class="divider"></li>
				<li><a href="<?php echo U('Login/out');?>"><i class="fa fa-sign-out fa-fw"></i> 退出</a>
				</li>
			</ul>
		</li>
		<!-- /.dropdown -->
	</ul>
	<!-- /.navbar-top-links -->

	<div class="navbar-default sidebar" role="navigation">
		<div class="sidebar-nav navbar-collapse">
			<ul class="nav" id="side-menu">
				<!--
				<li class="sidebar-search">
					<div class="input-group custom-search-form">
						<input type="text" class="form-control" placeholder="Search...">
						<span class="input-group-btn">
							<button class="btn btn-default" type="button">
								<i class="fa fa-search"></i>
							</button>
						</span>
					</div>
				</li>
				-->
				<!--
				<li>
					<a href="index.html"><i class="fa fa-dashboard fa-fw"></i> Dashboard</a>
				</li>
				<li>
					<a href="#"><i class="fa fa-bar-chart-o fa-fw"></i> Charts<span class="fa arrow"></span></a>
					<ul class="nav nav-second-level">
						<li>
							<a href="flot.html">Flot Charts</a>
						</li>
						<li>
							<a href="morris.html">Morris.js Charts</a>
						</li>
					</ul>
				</li>
				<li>
					<a href="tables.html"><i class="fa fa-table fa-fw"></i> Tables</a>
					<a class="active" href="blank.html">修改密码</a>
				</li>
				<li class="active">
					<a href="javascript:;"><i class="fa fa-list fa-fw"></i> 基础设置<span class="fa arrow"></span></a>
					<ul class="nav nav-second-level">
						<li>
						<a class="active" href="blank.html">修改密码</a>
						<a href="<?php echo U('Index/password');?>">修改密码</a>
						</li>
					</ul>
				</li>
				-->
				<li>
					<a href="javascript:;"><i class="fa fa-list fa-fw"></i> 基础设置<span class="fa arrow"></span></a>
					<ul class="nav nav-second-level">
						<li>
						<a href="<?php echo U('Index/password');?>">修改密码</a>
						</li>
					</ul>
				</li>
				<li>
					<a href="javascript:;"><i class="fa fa-list fa-fw"></i> 学科<span class="fa arrow"></span></a>
					<ul class="nav nav-second-level">
						<li>
						<a href="<?php echo U('Subject/index');?>">列表</a>
						</li>
						<li>
						<a href="<?php echo U('Subject/edit');?>">添加</a>
						</li>
					</ul>
				</li>
				<li>
					<a href="javascript:;"><i class="fa fa-list fa-fw"></i> 班级<span class="fa arrow"></span></a>
					<ul class="nav nav-second-level">
						<li>
						<a href="<?php echo U('Class/index');?>">列表</a>
						</li>
						<li>
						<a href="<?php echo U('Class/edit');?>">添加</a>
						</li>
					</ul>
				</li>
				<li>
					<a href="javascript:;"><i class="fa fa-list fa-fw"></i> 学员<span class="fa arrow"></span></a>
					<ul class="nav nav-second-level">
						<li>
						<a href="<?php echo U('Student/index');?>">列表</a>
						</li>
						<li>
						<a href="<?php echo U('Student/edit');?>">添加</a>
						</li>
					</ul>
				</li>
				<!--
				<li>
					<a href="<?php echo U('ClassStudent/index');?>"><i class="fa fa-align-justify fa-fw"></i> 班级学员<span class="fa arrow"></span></a>
				</li>
				<li>
					<a href="<?php echo U('Record/index');?>"><i class="fa fa-align-justify fa-fw"></i> 上课记录<span class="fa arrow"></span></a>
				</li>
				-->
				<li>
					<a href="javascript:;"><i class="fa fa-list fa-fw"></i> 交易记录<span class="fa arrow"></span></a>
					<ul class="nav nav-second-level">
						<li>
						<a href="<?php echo U('Bill/index');?>">列表</a>
						</li>
						<!--
						<li>
						<a href="<?php echo U('Bill/edit');?>">添加</a>
						</li>
						-->
					</ul>
				</li>
			</ul>
		</div>
		<!-- /.sidebar-collapse -->
	</div>
	<!-- /.navbar-static-side -->
</nav>

		

        <!-- Page Content -->
        <div id="page-wrapper">
			
	<div class="container-fluid">
		<div class="row">
			<div class="col-lg-12">
				<h1 class="page-header">班级列表</h1>
			</div>
			<!-- /.col-lg-12 -->
		</div>

		<div class="row">
			<div class="col-lg-12">
				<!--
				<div class="panel panel-default">
					<div class="panel-heading"> Basic Form Elements </div>
				</div>
				-->
				<div class="panel-body">
					<div class="row">
						<div class="col-lg-12">
							<!-- /.row -->
							<div class="row">
								<div class="col-lg-12">
									<div class="panel panel-default">
										<!--
										<div class="panel-heading">
											DataTables Advanced Tables
										</div>
										-->
										<!-- /.panel-heading -->
										<div class="panel-body">
											<div class="dataTable_wrapper">
												<table class="table table-striped table-bordered table-hover" id="dataTables-example">
													<thead>
														<tr>
															<th>序号</th>
															<th>姓名</th>
															<th>班级</th>
															<th>缴费时间</th>
															<th>操作</th>
														</tr>
													</thead>
													<tbody>
														<?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$list): $mod = ($i % 2 );++$i;?><tr class="gradeC">
															<td><?php echo ($key+1+$start); ?></td>
															<td><?php echo ($list['name']); ?></td>
															<td><?php echo ($class[$list['bcid']]['cname']); ?></td>
															<td><?php echo (date("Y-m-d H:i:s",$list['bytime'])); ?></td>
															<td>
																<a href="<?php echo U('Bill/info',array('id'=>$list['bid']));?>">详情</a>
																<a href="<?php echo U('Student/edit',array('id'=>$list['id']));?>">学员信息</a>
															</td>
														</tr><?php endforeach; endif; else: echo "" ;endif; ?>
														<tr>
															<td colspan="5"><div class="page"><?php echo ($page); ?></div></td>
														</tr>
													</tbody>
												</table>
											</div>
										</div>
										<!-- /.panel-body -->
									</div>
									<!-- /.panel -->
								</div>
								<!-- /.col-lg-12 -->
							</div>
							<!-- /.row -->
						</div>
					</div>
				</div>
			</div>
			<!-- /.col-lg-12 -->
		</div>
		<!-- /.row -->
	</div>

            <!-- /.container-fluid -->
        </div>
        <!-- /#page-wrapper -->

    </div>	

	
		<!-- jQuery -->
<script src="/Public/Admin/bower_components/jquery/dist/jquery.min.js"></script>

<!-- Bootstrap Core JavaScript -->
<script src="/Public/Admin/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>

<!-- Metis Menu Plugin JavaScript -->
<script src="/Public/Admin/bower_components/metisMenu/dist/metisMenu.min.js"></script>

<!-- Custom Theme JavaScript -->
<script src="/Public/Admin/dist/js/sb-admin-2.js"></script>

	
</body>
</html>